import React from "react";
import ReactDOM from "react-dom";
import BluePrint from "../src";
import { blueprintConfig } from "./consants";
import initGraph from "./data.json";
import "antd/dist/antd.css";
import "./index.less";
interface IState{
  data: any;
  config: any;
}
class App extends React.Component<any, IState> {
  render() {
    return <div className="example">
      <BluePrint config={blueprintConfig} initGraph={initGraph} onChange={(graph) => console.log(graph)} />
  </div>
  }
}

ReactDOM.render(<App />, document.getElementById("root"));